<tagLib name="html" />
<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">我的日志</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_1">
						写一篇日志
					</div>
					<div class="arm_2">
						<a href="__URL__">好友的日志</a>					
					</div>
					<div class="arm_2">
						<a href="__APP__/blogs/{$userInfo['id']}">我的日志</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__/drafty">草稿箱</a>					
					</div>
					
				</div>
				<div class="app_right_count">
					写日记
				</div>
				<div>
					<div class="app_right_left">
						<div class="blogshow">
							<form id="blogForm" action="__URL__/saveblog" method="POST">
								<p>
									<b>标题</b>
									<br/><input type="text" id="title" name="title" size="50"/>
								</p>
								<p>
									<b>内容</b>
									<br/><html:editor id="content" name="content" type="FCKeditor" width="420"  toolbar="Basic" content="" />
								</p>
								<!--
								<p>
									<b>附件</b>
									<br/>
									<input type="file" name="attach" size="40"/>
								</p>
								-->
								<p>
									<b>隐私设置</b>
									<select name="privacy">
										<option value="3">全站用户可见</option>
										<option value="2" selected>相同网络及好友可见</option>
										<option value="1">仅好友可见</option>
										<option value="0">唯自己可见</option>
									</select>
								</p>
								<p>
									<input type="submit" name="post" value="发表日志"/>
									<input name="drafty" type="checkbox" value="1"/> 
									保存为草稿
								</p>
							</form>
						</div>
					</div>
					
				</div>
			</div>
<include file="Public:footer" />